package com.sun.mybatisplus.openfeign.service;

import com.sun.mybatisplus.entity.BeautyInfo;
import org.springframework.stereotype.Component;

import java.util.Arrays;
import java.util.List;

/**
 * Feign调用异常时走这个方法
 */
@Component
public class BeautyFeignServiceFallBack implements BeautyFeignService {

    @Override
    public List<BeautyInfo> selectAll() {
        return Arrays.asList(null);
    }
}
